
/*
 * @Description: 流程图预览
 * @Author: DHL
 * @Date: 2022-08-19 15:43:19
 * @LastEditors: DHL
 * @LastEditTime: 2022-09-15 10:45:32
 */

import { Result } from '/@/model/baseModel'
import { $get } from '/@/utils/http'


/**
 * 根据流程实例ID预览流程图
 * @param procInsId 
 * @returns 
 */
export const apiFlowViewer = (procInsId: string) =>
  $get<Result<any>>({
    url: '/flowProcessViewer/viewer',
    params: { procInsId: procInsId }
  })
